<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>Message:<s:property value="msg.message"/></h1>
<h1>Name:<s:property value="msg.name"/></h1>
<s:if test="%{msg.name == 'abc'}">
	<h2>name is abc and very good</h2>
</s:if>
<s:elseif test="%{msg.name == 'ddd'}">
	<h2>name is ddd, just soso</h2>
</s:elseif>
<s:else>
	<h2>unkonwn name</h2>
</s:else>
</body>
</html>